import request from '@/utils/request'

// 获取不同类型的百分比报表数据
export function getTypeGraphInfo() {
    return request({
      url: '/business/question/listtypeGraph',
      method: 'get'
    })
}

// 获取业务量统计报表数据
export function getBusinessInfo() {
    return request({
      url: '/business/question/list-business',
      method: 'get'
    })
}


//获取事件报警数据
export function getDisQuesInfo() {
    return request({
      url: '/business/question/listdisQues',
      method: 'get'
    })
}

//获取咨询故障统计数量数据
export function getAnalysisInfo() {
    return request({
      url: '/business/question/listanalysis',
      method: 'get'
    })
}

//获取每个地区完成情况图表数据
export function getLocationGraphInfo() {
    return request({
      url: '/business/question/listlocationGraph',
      method: 'get'
    })
}

//获取满意度报表数据
export function getLocationFinishGraphInfo() {
    return request({
      url: '/business/question/listlocationFinishGraph',
      method: 'get'
    })
}